#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

# Polaris uses 20181-20182 for S3
export POLARIS_S3_PORT=20181
export POLARIS_S3_ADMIN_PORT=20182

# Polaris authentication
export POLARIS_BOOTSTRAP_PASSWORD="secret123"

# MinIO (S3-compatible) configuration for local development
export MINIO_API_PORT=20001
export MINIO_CONSOLE_PORT=20002
export MINIO_ACCESS_KEY="admin"
export MINIO_SECRET_KEY="password"
export MINIO_BUCKET="warehouse"
export MINIO_BUCKET_PREFIX="wh"

# Polaris catalog defaults (point to MinIO bucket/prefix)
export AWSRegion="us-east-1"
export POLARIS_CATALOG_NAME="doris_test"
export CATALOG_BASE_LOCATION="s3://${MINIO_BUCKET}/${MINIO_BUCKET_PREFIX}/"
